package naga.x.platform2.app.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import naga.x.platform2.app.model.Code;

@Mapper
public interface CodeMapper extends IMapper<Code> {
	
	int countBy(@Param("type") int type, @Param("receiver") long receiver);
	
}
